<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?>
<div class="footerBox">
	<div class="footer">
		<!-- 外链 -->
		<div class="footer_link">
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=e6c761ac3979e497fb009932fd183f88&action=category&catid=54&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'54','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'20',));}?>
				<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
					<a href="<?php echo $r['url'];?>" target="_blank"><?php echo $r['catname'];?></a> 
				<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
		</div>
		<!-- 地方 -->
		<div class="footer_cityBox">
			<div class="footer_title">地方</div>
			<div class="footer_city">
				<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7e38310ef95098a769679ed5de847b05&action=category&catid=65&num=80&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'65','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'80',));}?>
					<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
						<a href="<?php echo $r['url'];?>" target="_blank"><?php echo $r['catname'];?></a> 
					<?php $n++;}unset($n); ?>
				<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			</div>
		</div>
		<!-- 友联 -->
		<div class="footer_cityBox">
			<div class="footer_title">友情链接</div>
			<div class="footer_city">
				<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=cb58be0ef3d2e3f36c12858f89cd0a23&action=type_list&siteid=%24siteid&order=listorder+DESC&return=dat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$dat = $link_tag->type_list(array('siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'20',));}?>
					<?php $n=1;if(is_array($dat)) foreach($dat AS $v) { ?>
						<?php if($type==0) { ?>
							<a style="width:120px;" href="<?php echo $v['url'];?>" target="_blank"><?php echo $v['name'];?></a>
						<?php } else { ?>
							<a  style="width:120px;" href="<?php echo $v['url'];?>" target="_blank"><img src="<?php echo $v['logo'];?>" width="88" height="31" style="border: 1px solid #FFBE7A;"></a>
						<?php } ?>
					<?php $n++;}unset($n); ?>
				<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 
			</div>
		</div>
		
		<!-- 版权 -->
		<p class="footer_info" style="padding: 15px 0 0;">
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=e3d146232857be4579899ac97dbd2f7c&action=category&catid=1&num=15&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'1','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'15',));}?>
				<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
					<a href="<?php echo $r['url'];?>" target="_blank"><?php echo $r['catname'];?></a> |  
				<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			<a href="<?php echo siteurl($siteid);?>">加入收藏</a> | 
			<a href="javascript:;" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('<?php echo siteurl($siteid);?>');">设为首页</a>
		</p>
		<p class="footer_info">中国旅游报·第一旅游网(中国旅游新闻网)版权所有 未经许可不得转载</p>
		<p class="footer_info" style="padding: 25px 0;">
			京ICP证130246号 京ICP备15009894号 京公网安备11010102000336号
			<script src="http://kxlogo.knet.cn/seallogo.dll?sn=2011010700100004363&amp;size=2"></script> <!--可信网站图片LOGO安装-->
		</p>
		
	</div>
</div>
<script type="text/javascript">
$(function(){
	$(".picbig").each(function(i){
		var cur = $(this).find('.img-wrap').eq(0);
		var w = cur.width();
		var h = cur.height();
	   $(this).find('.img-wrap img').LoadImage(true, w, h,'<?php echo IMG_PATH;?>msg_img/loading.gif');
	});
})
</script>
</body>
</html>